package com.roncoo.example.mapper;

import com.roncoo.example.bean.Luckymoney;
import com.roncoo.example.bean.LuckymoneyExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LuckymoneyMapper {
    int countByExample(LuckymoneyExample example);

    int deleteByExample(LuckymoneyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Luckymoney record);

    int insertSelective(Luckymoney record);

    List<Luckymoney> selectByExample(LuckymoneyExample example);

    Luckymoney selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Luckymoney record, @Param("example") LuckymoneyExample example);

    int updateByExample(@Param("record") Luckymoney record, @Param("example") LuckymoneyExample example);

    int updateByPrimaryKeySelective(Luckymoney record);

    int updateByPrimaryKey(Luckymoney record);
}